package com.yiwei.hdb.model;

/**
 * 导向页模型
 * Created by Master.Dong on 2016/4/12.
 */
public class InitAppModel extends ResponseModel{

//    private int status;
//    private String msg;
    private boolean is_logined;
    private String user_name;
    private boolean has_user_name;
    private GuidePageModel guide_page;
    private Version version;
    private ContactInfoModel contact_info;


    /**
     * APP版本信息
     */
    public static class Version {
        private Android Android = null;

        public InitAppModel.Android getAndroid() {
            return Android;
        }

        public void setAndroid(InitAppModel.Android android) {
            Android = android;
        }
    }

    public static class Android {
        private String lastest_version;
        private int forced_upgrade;
        private String upgrade_msg;
        private String download_url;
        private String msg;
        private int status;

        public String getLastest_version() {
            return lastest_version;
        }

        public void setLastest_version(String lastest_version) {
            this.lastest_version = lastest_version;
        }

        public int getForced_upgrade() {
            return forced_upgrade;
        }

        public void setForced_upgrade(int forced_upgrade) {
            this.forced_upgrade = forced_upgrade;
        }

        public String getUpgrade_msg() {
            return upgrade_msg;
        }

        public void setUpgrade_msg(String upgrade_msg) {
            this.upgrade_msg = upgrade_msg;
        }

        public String getDownload_url() {
            return download_url;
        }

        public void setDownload_url(String download_url) {
            this.download_url = download_url;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }

    public GuidePageModel getGuide_page() {
        return guide_page;
    }

    public void setGuide_page(GuidePageModel guide_page) {
        this.guide_page = guide_page;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean is_logined() {
        return is_logined;
    }

    public void setIs_logined(boolean is_logined) {
        this.is_logined = is_logined;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public boolean isHas_user_name() {
        return has_user_name;
    }

    public void setHas_user_name(boolean has_user_name) {
        this.has_user_name = has_user_name;
    }

    public Version getVersion() {
        return version;
    }

    public void setVersion(Version version) {
        this.version = version;
    }

    public ContactInfoModel getContact_info() {
        return contact_info;
    }

    public void setContact_info(ContactInfoModel contact_info) {
        this.contact_info = contact_info;
    }
}
